package mspbots.liongard.client.core.client;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author AlexBob
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientProperties implements Serializable {

    @NotNull(message = "Params [tenantId] can not be empty")
    private Long tenantId;

    @NotEmpty(message = "Params [environment] can not be empty")
    private String environment;

    @NotEmpty(message = "Params [key] can not be empty")
    private String key;

    @NotEmpty(message = "Params [secret] can not be empty")
    private String secret;

}
